@extends('layouts.admin.index')
@section('title', '商品列表')
@section('admin-css')
    .gradeX td{
        text-align: center;
        vertical-align: middle;
    }
    img{
        width:60px;
    }
@endsection
@section('current')
    <a href="{{ url('admin/goodsList') }}" class="current">商品列表</a>
@endsection
@section('content')
    <div class="widget-box">
        <div class="widget-title"><span class="icon"><i class="icon-th"></i></span>
            <h5>商品列表</h5>
        </div>
        <div class="widget-content nopadding">
            <table class="table table-bordered data-table">
                <thead>
                    <tr>
                        <th>商品ID</th>
                        <th>商品名称</th>
                        <th>商品图片</th>
                        <th>商品价格</th>
                        <th>所属分类</th>
                        <th>所属餐类</th>
                        <th>是否热销</th>
                        <th>是否上架</th>
                        <th>操作</th>
                    </tr>
                </thead>
                <tbody>
                    <tr class="gradeX">
                        <td>1</td>
                        <td>经典麦辣鸡腿汉堡</td>
                        <td><img src="{{url('images/1440.png')}}"></td>
                        <td>17.00元</td>
                        <td>主食</td>
                        <td>正餐</td>
                        <td>热销</td>
                        <td>上架</td>
                        <td>
                            <a href="{{ url('admin/goodsEdit') }}"><i class="icon icon-edit" title="修改"></i></a>&nbsp;&nbsp;
                            <a href=""><i class="icon icon-trash" title="删除"></i></a>
                        </td>
                    </tr>
                    <tr class="gradeX">
                        <td>2</td>
                        <td>麦辣鸡翅</td>
                        <td><img src="{{url('images/1700.png')}}"></td>
                        <td>11.00元</td>
                        <td>小食</td>
                        <td>正餐</td>
                        <td>热销</td>
                        <td>上架</td>
                        <td>
                            <a href="{{ url('admin/goodsEdit') }}"><i class="icon icon-edit" title="修改"></i></a>&nbsp;&nbsp;
                            <a href=""><i class="icon icon-trash" title="删除"></i></a>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
@endsection